Continuous form

gawai

New Member
Joined
Mar 1, 2014
Messages
15
PHhHu.png

hi,
i have issue with continuous form, there are 2 rows(records) matching name but form showing only 1 -last record.
below screen for ref.


any idea ?
 
It is a little difficult to figure without having access to your Form to see exactly how it is designed, but in looking at the VBA code, it looks like you are looping through your records to the last one, so I think that would only return the last record:
Code:
[COLOR=#333333]rs.MoveNext[/COLOR]
[COLOR=#333333]Next foundRec[/COLOR]

i tried with do while loop. but still same.

here is the (form). pls have a look. the (table) is not in the same file.

Remote.rar
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
I downloaded your database, but it looks like it is trying to access another Access database as its data source, and that wasn't included in your zip file. So it tosses out errors.

In any event, I am not sure why you are using Recordsets, when it seems like a simple Parameter Query, Filtered Query, or Search Form/Query will do.
Can you explain why you have elected to use this method?

Also, I am not sure why you have an Access database that only has a query in it. Why wouldn't that be part of your other database?
Also, if you do need it in its own database for some reason, why not use a linked Access table to the other database instead of trying to read the data in like you are via a Recordset?
 
Upvote 0
the database file will be in server as storage.
This file will be accessing the database remotely by multiple users.
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top