473,387 Members | 3,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to insert Record # for Filter result in a Continous Form

19
I want to put Record # in a Continous form. Also I have put filter so I need to show how many records filtered and the No. of the record.
Sep 13 '06 #1
6 2175
PEB
1,418 Expert 1GB
Hi,
Please, Can you give us an exemple! I can't understand what just do you like to do?

Have a nice day!

:)
Sep 13 '06 #2
Fuard
19
Dear Mr. PEB

For example a candidate has multiple payments. If I select a candidate from a combo box it shows the particular payments in a continuous form so I need to put the Record # (No of payments 1, 2 , 3 ) .

Fuard
Sep 13 '06 #3
PEB
1,418 Expert 1GB
It isn't easy! With function your results wouldn't be good if you don't use append or make table query!

If you do a column specialized for this number - it's more simple! You can use a vb variable to store the last line number and increment the lines!

:)
Sep 13 '06 #4
Fuard
19
Sorry, I can't understand I am little poor in MS Access please if you can send some coding it is better

fuard


It isn't easy! With function your results wouldn't be good if you don't use append or make table query!

If you do a column specialized for this number - it's more simple! You can use a vb variable to store the last line number and increment the lines!

:)
Sep 14 '06 #5
PEB
1,418 Expert 1GB
Ok!

First create in your table the field line_n as number!

Insert it in your subform

Imagine that the foreign key for your table is MyFkey in MyTable

In Before Update event in your subform select event procedure!

Type the follow:

Me!line_n=nz(Dmax("line_n","MyTable","MyFkey=" & STR(Me!MyFkey))) + 1


:)
Sep 14 '06 #6
Fuard
19
Thanks I hope it will work

Regards


Ok!

First create in your table the field line_n as number!

Insert it in your subform

Imagine that the foreign key for your table is MyFkey in MyTable

In Before Update event in your subform select event procedure!

Type the follow:

Me!line_n=nz(Dmax("line_n","MyTable","MyFkey=" & STR(Me!MyFkey))) + 1


:)
Sep 14 '06 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Bill | last post by:
I'm having what seems to me to be an odd problem. Perhaps there is some explanation, but don't know at this point. Basically I have a form that tracks memberships and donations. The main form...
2
by: max | last post by:
Hi all, I have a problem that maybe has no solution, but before giving up, I was wondering if somebody has an idea.... I have a form with a subform (continous) that shows the related records; the...
9
by: DS | last post by:
Whenever you use a continous form each row represents a record. Does this record have a number? If so how do you access it. Right now I have a field using auto number. But if access generates...
17
by: perryche | last post by:
I have 5records, e.g. Rc1, Rc2, Rc3..., when user open up a form, I want it to open to a particular record (say Rc3) then when user chooses the Record Selector , it will go to Rc2 and , it will go...
0
by: Patrick | last post by:
I'm working on a contact management application, and need a hand with one aspect... Here's what I want to create: ------------------------------------ A form split into two parts. There is a...
1
by: Kevin.S.Campbell | last post by:
Greetings, I'm trying to run a sql query on a continous form. I have the query working correctly the way I want it. I want this query to be displayed on the form in the text box on the load...
6
by: San | last post by:
Hey, I need to create a form with several text boxes in which users type in key words, press a command button on the form and it opens a matching record. Thanking you in advance.
13
by: terrybens | last post by:
Hello, I'm using a Microsft Access 2000 Project (adp file) connected to MS SQL Server 2000 database. I have created a continous form having a detail part (results of the query) and a footer...
3
by: questionit | last post by:
Hi Is it possible with the Continous Form to have the textbox properties changed to show either the first or the last record. Property changed could be change of font color, size ,etc. ...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.