debasisdas 580 Posting Genius Featured Poster

then no program can read that and load into a database for you.

debasisdas 580 Posting Genius Featured Poster

You mean to say a physical book (a printed hard copy) ?

debasisdas 580 Posting Genius Featured Poster

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

you need to round off the value to the desired decimal places.

debasisdas 580 Posting Genius Featured Poster

if the time is stored as character, you will not be able to perform any calculation on the same.

debasisdas 580 Posting Genius Featured Poster

Do you want any summary information as well ?

debasisdas 580 Posting Genius Featured Poster

why need to go to the last record.

simply use max(id) + 1, to generate the new id.

debasisdas 580 Posting Genius Featured Poster

You need to store the database file in a centralized server to which all the connecting systems has read write access.

debasisdas 580 Posting Genius Featured Poster

you can do that by running a script to update the records.

debasisdas 580 Posting Genius Featured Poster

You can maintain two fields
1. Id-------number
2. company_id-----string

suppose i have 1 record in the database
so
Id = 1
company_id = NEW1

next time you want to generate a new company id

read the max of id
i.e.--1
increment the same by 1
so
new Id = 2
new company_id = NEW2

don't forget to make the ID field unique and the Company_id field primary key of the table.

i think that is clear enough.

debasisdas 580 Posting Genius Featured Poster

are you trying to fetch the last record ?

debasisdas 580 Posting Genius Featured Poster

In what format dates are being stored ?

debasisdas 580 Posting Genius Featured Poster

You must and should go with the approach of using relational database.

debasisdas 580 Posting Genius Featured Poster

First of all you need to store opening and closing time in date time format.

debasisdas 580 Posting Genius Featured Poster

store the value that is being generated in a database and read back the same and add one to generate the new value.

debasisdas 580 Posting Genius Featured Poster

You need to use database for this.

new value = max of current value + 1

debasisdas 580 Posting Genius Featured Poster

Noone is going to ask you about all the controls and their corresponding properties, methods and events.

debasisdas 580 Posting Genius Featured Poster

No need to remember all.

Use the one required for you.

debasisdas 580 Posting Genius Featured Poster

Welcome aboard.

debasisdas 580 Posting Genius Featured Poster

Hi Jonan,

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

You do that for windows phones.

debasisdas 580 Posting Genius Featured Poster

Are you using database ?

debasisdas 580 Posting Genius Featured Poster

Use printer for what ?

What you want to print ?

debasisdas 580 Posting Genius Featured Poster

Please pass more information.

debasisdas 580 Posting Genius Featured Poster

Kindly post the tables structures also post the query that you are working on.

debasisdas 580 Posting Genius Featured Poster

You need to go through this for details.

debasisdas 580 Posting Genius Featured Poster

TRY THIS

cnn.BeginTrans
cnn.Execute "your sql udpate query goes here"
cnn.CommitTrans
debasisdas 580 Posting Genius Featured Poster

Your data is in which format ?

debasisdas 580 Posting Genius Featured Poster

Sorry, ours is not a free code supply service. We do not do that.

debasisdas 580 Posting Genius Featured Poster

how to insert a pdf file in database

Read the file into a binary stream and store the same into a database table.

debasisdas 580 Posting Genius Featured Poster

you need to fix the SQL query that you are using .

Check for proper syntax.

debasisdas 580 Posting Genius Featured Poster

oracle is an ORDBMS ---in short is a database.
and dba is a human being----is one who manages/administers the database.

debasisdas 580 Posting Genius Featured Poster

please explain what exactly you are doing.

I will explain the difference between the two.

debasisdas 580 Posting Genius Featured Poster

Welcome to Daniweb

debasisdas 580 Posting Genius Featured Poster

Are you facing any problem with the control ?

You simply need to take the value from the control, format is at per you database date format and store in DB.

Netcode commented: point in the right direction as always +5
debasisdas 580 Posting Genius Featured Poster

why not use a combobox to populate data from from1 in form 2 for ID_no field.

debasisdas 580 Posting Genius Featured Poster

You need to use FileSystemObject.

debasisdas 580 Posting Genius Featured Poster

Lets see what you have tried.

debasisdas 580 Posting Genius Featured Poster

please pass more information what exactly you are trying to do.

debasisdas 580 Posting Genius Featured Poster

cross check if the column name is CATALOGNO or CATALOG_NO

adam_k commented: It worths a check +7
debasisdas 580 Posting Genius Featured Poster

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

You need to read this.

The concept is same for all databases.

debasisdas 580 Posting Genius Featured Poster

what is that .mdb file you have mentioned ?

debasisdas 580 Posting Genius Featured Poster

welcome aboard.

debasisdas 580 Posting Genius Featured Poster

What exactly you mean by disable a cell of datagrid ? Are you trying to make it read only ?

debasisdas 580 Posting Genius Featured Poster

First look shows some problem with single quotes.

Print the variable sqlupdate before executing the same.

Try to execute the output of the print , you will know the part that is creating the problem.

debasisdas 580 Posting Genius Featured Poster

If you are familiar with oracle refer to EMP table of SCOTT schema for start up.

debasisdas 580 Posting Genius Featured Poster

You need to define your own sub-routine for the purpose.

debasisdas 580 Posting Genius Featured Poster

What is the query that you are working on ?

debasisdas 580 Posting Genius Featured Poster

declaring variables and assigning values to those.