Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
NURSING , CAREGIVER , HOTEL & BEAUTY COURSES
IVA Para Medical Campus
Updated:
Today at 9:24 AM
Handmade Character Soft Toys Peppa Pig Family
anil1961
Updated:
Yesterday at 9:58 PM
Ad icon
Video Content Creator
pramukag
Updated:
Sunday at 6:10 AM
Ad icon
QA Engineer Intern
pramukag
Updated:
Sunday at 6:07 AM
Ad icon
Sell your Land, House on idamata.lk for FREE
sajith.xp.pk
Updated:
Jun 25, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
Access Database Help?????
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="R_L" data-source="post: 3787453" data-attributes="member: 16427"><p>hmm machan.. meka diga wediwei da manda.. </p><p></p><p>oke wenne oya products danawa eka table ehekata.. ita passe ekata adala capacities assign karanawa.. then in the place where u want to have wat u wanted to work u use a small code.. </p><p></p><p>first u make the table where u want this to work.. one field (products) shud be lookd up from the products table.. othr one normal text box callled capacity.. then u create a form based on that... u then change ur capacity textbox to a combo box.. eka karanna u have to select the capacity text box an riightclick an go to Change to> Combo Box.</p><p></p><p>then go to the Products field on the form. this is the value on which ur capacities will change.. different values in capacity depend on this products value..</p><p>go to the Properties of the Products field.... go to the After Update option and select the dotted box... select Code Builder.. u will get two lines of code like this seen:</p><p>Private Sub products_AfterUpdate()</p><p></p><p>End Sub</p><p></p><p>u then have to enter a code like this inbetween the two lines above:</p><p></p><p>Me.capacity.RowSource = "SELECT productcapa.[spec detail] FROM productcapa WHERE (((productcapa.[product])=[products]));"</p><p> </p><p>to explain this code means that the row source or the values displayed on your capcities dropdown menu will change according to the value selected in your products field</p><p></p><p>productcapa is where u assigned the capacities.. that means assigned all the values that aany product can have.. ex: flash ekak can have 1, 2, 4, 8GB, etc...</p><p></p><p>so it selects those values WHERE the product name is equal to the name selectd in the current form.</p></blockquote><p></p>
[QUOTE="R_L, post: 3787453, member: 16427"] hmm machan.. meka diga wediwei da manda.. oke wenne oya products danawa eka table ehekata.. ita passe ekata adala capacities assign karanawa.. then in the place where u want to have wat u wanted to work u use a small code.. first u make the table where u want this to work.. one field (products) shud be lookd up from the products table.. othr one normal text box callled capacity.. then u create a form based on that... u then change ur capacity textbox to a combo box.. eka karanna u have to select the capacity text box an riightclick an go to Change to> Combo Box. then go to the Products field on the form. this is the value on which ur capacities will change.. different values in capacity depend on this products value.. go to the Properties of the Products field.... go to the After Update option and select the dotted box... select Code Builder.. u will get two lines of code like this seen: Private Sub products_AfterUpdate() End Sub u then have to enter a code like this inbetween the two lines above: Me.capacity.RowSource = "SELECT productcapa.[spec detail] FROM productcapa WHERE (((productcapa.[product])=[products]));" to explain this code means that the row source or the values displayed on your capcities dropdown menu will change according to the value selected in your products field productcapa is where u assigned the capacities.. that means assigned all the values that aany product can have.. ex: flash ekak can have 1, 2, 4, 8GB, etc... so it selects those values WHERE the product name is equal to the name selectd in the current form. [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom