|
-
Dec 19th, 2001, 02:40 AM
#1
Thread Starter
Addicted Member
-
Dec 19th, 2001, 02:43 AM
#2
Addicted Member
Hi
In My Table There Are Two Fields Index(the key) and number
I Want .....
this is what I understand and then u lose me.....
can you rephrase the question?
-
Dec 19th, 2001, 02:48 AM
#3
Thread Starter
Addicted Member
-
Dec 19th, 2001, 02:51 AM
#4
Addicted Member
so if i understand u correctly:
table
index - Number
1 1
2 4
3 9
something like this?
do you do this directly in Access or using VB?
-
Dec 19th, 2001, 02:57 AM
#5
Thread Starter
Addicted Member
-
Dec 19th, 2001, 02:58 AM
#6
Addicted Member
Why not do it similarly then? Use a query to retrieve the values and write the squared values back....
-
Dec 19th, 2001, 03:00 AM
#7
Thread Starter
Addicted Member
How
How Can I Do THIS
-
Dec 19th, 2001, 03:18 AM
#8
Addicted Member
Public Sub AA()
Dim rs As Recordset
Dim squery As String
squery = "SELECT * FROM Table"
Set rs = CurrentDb.OpenRecordset(squery)
while not rs.eof
wend
MsgBox rs.RecordCount
End Sub
the keyword here is
-
Dec 19th, 2001, 03:19 AM
#9
Addicted Member
halfway there
while not rs.eof
'do something with the rs
currentdb.execute yournewquery
wend
hope this helps.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|