370 Posted Topics

Member Avatar for LFCDay123

You can use the isnumeric function do MonthUsage = InputBox("Please enter a monthly usage value") if not isnumeric(MonthUsage) then msgbox "Please enter numbers only" until isNumeric(MonthUsage) MonthlyUsages(usages) += val(MonthUsage)

Member Avatar for ChrisPadgham
0
127
Member Avatar for belber

From memory, I think you also need to set the keypreview property on the form otherwise the keypress will be sent to the control that has focus

Member Avatar for mustaffa hasan
0
208
Member Avatar for MnMmatz

There are some good sales and inventory systems on the market, it will end up cheaper and quicker than writing your own

Member Avatar for ChrisPadgham
0
62
Member Avatar for mb01a
Member Avatar for Z33shan
Member Avatar for William77

line 34 should be [CODE]intGrade = intScore/intPossibleMarks*100[/CODE] that will give you a score as a percentage then you will need a select case statement to assign a letter to the score. something like [CODE]SELECT CASE TRUE CASE intGrade > 85 strGrade = "A" CASE intGrade >75 strGrade = "B" CASE …

Member Avatar for ChrisPadgham
0
143
Member Avatar for C0ding
Member Avatar for C0ding
0
87
Member Avatar for 432

Looks like just the spot for a bit of recursion. create yourself a subroutine that creates the upper and lower case version of an ordinal position and then have it call itself until you reach the end of the string.

Member Avatar for 432
0
91
Member Avatar for dwiniers
Member Avatar for Alison1

I think you should set your start up to Sub Main. Then write a main subroutine that displays your login form modally. When you have validated the user display your first form.

Member Avatar for ChrisPadgham
0
114
Member Avatar for IgniteTCS
Member Avatar for I Love Coding

I think it is important for you to get a start, once you have got something, if you have a bug you can't find, post it and someone will help you.

Member Avatar for ChrisPadgham
0
84
Member Avatar for BeeKeeper18
Member Avatar for kaozci
0
357
Member Avatar for Farhan_B
Member Avatar for F_M

Why do you have the details in a second table. It doesn't look like you need it, just move all the fields in the details table into the Customers table. If you wish to persist with the design you have then the insert into customers table at line 7 does …

Member Avatar for thines01
0
165
Member Avatar for krishnisilva
Member Avatar for dorelbaiu

I don't think this approach can handle strange charaters in the password like ( or ). Check that your password only contains alphanumeric characters.

Member Avatar for dorelbaiu
0
150
Member Avatar for venky.skcet

[CODE]SELECT Materials.Item_Name, Proj_Mat.qty FROM Materials, Proj_Mat WHERE Materials.Item_Code=Proj_Mat.Item_Code AND Proj_Mat.Proj_Id=CurrentProjId[/CODE] CurrentProjId is obviously the project you wish to report on

Member Avatar for venky.skcet
0
104
Member Avatar for Remedyseeking

30 is pushing it a bit for MSAccess but in theory you should be OK. Just use one table and one form. Given the number of concurrent users I would be inclined not to use bound fields. Instead have a save button which builds an SQL INSERT statement to insert …

Member Avatar for ChrisPadgham
0
473
Member Avatar for Panathinaikos22
Member Avatar for dioioib
0
170
Member Avatar for az_master
Member Avatar for belber
Member Avatar for Shadizon

In the click event of the combo box set a filter on the form [CODE] Public sub combo1_click me.filter = "StudentName='" & me.combo1.text me.filteron = true end sub [/CODE]

Member Avatar for ChrisPadgham
0
114
Member Avatar for DanielPrasath

look on itunesU for iPhone programming by Paul Hegarty of Standford University. His on-line lectures are free and explain this well.

Member Avatar for dioioib
0
164
Member Avatar for Z33shan

See here for connection strings for mySQL databases [URL="http://www.connectionstrings.com/mysql"]http://www.connectionstrings.com/mysql[/URL] create you own database with a name that is relevant to the application you are developing

Member Avatar for ChrisPadgham
0
129
Member Avatar for apuamy
Member Avatar for aksay

the forum is about solving problems that you are experiencing. Do your design and if you have something you can resolve, post it and someone will assist you.

Member Avatar for aksay
0
164
Member Avatar for teofaniza
Member Avatar for teofaniza

I don't think a listview control is what you want. I think it would look more like a normal question screen if you had an array of radio buttons. On your form, place one radio button, then copy and paste it, VB will ask if you want to create a …

Member Avatar for ChrisPadgham
0
306
Member Avatar for jeannebria

so where is the code that establishes the adodc2 recordset and what is the error you are receiving

Member Avatar for ChrisPadgham
0
211

The End.