debasisdas 580 Posting Genius Featured Poster

Is that a web application and designed to run using a Browser ?

debasisdas 580 Posting Genius Featured Poster

1st one is conventional style SQL.
2nd is as per ANSI SQL.

debasisdas 580 Posting Genius Featured Poster

Timestamp will capture the exact time when the record was changed for each record.

debasisdas 580 Posting Genius Featured Poster

You need to store the password in the connection string itself.

Please find more on connectionstring.

debasisdas 580 Posting Genius Featured Poster

try something like this

select e.first_name
from employees e, goods g, orders o
where e.id = o.employee_id
and g.id = o.item_id

you need to modify this to suit your requirement.

debasisdas 580 Posting Genius Featured Poster

Why not try using JOIN .

Join all the three tables and retrieve the data

debasisdas 580 Posting Genius Featured Poster

no, i was asking about the table structures and their relations.

debasisdas 580 Posting Genius Featured Poster

It is better to write a procedural block.

what is the relation between the tables ?

debasisdas 580 Posting Genius Featured Poster

what exactly you are trying to do ?

debasisdas 580 Posting Genius Featured Poster

CASE executes faster.

DECODE works with expressions which are scalar values.

CASE can work with predicates and subqueries in searchable form:

CASE handles NULL values differently

debasisdas 580 Posting Genius Featured Poster

Seems you have to specify values when using RANGE. If one uses HASH then you don't need to specify values.

Exactly, that is how partition works.

Things becomes more challenging once you decide to you composite partition.
i.e.-- different types of partition logic on a single table.

debasisdas 580 Posting Genius Featured Poster

client server inventory management system

client server inventory control system

debasisdas 580 Posting Genius Featured Poster

after wards you need to divide the number by 1024 to get in Kilo Bytes and again by 1024 to get in MB.
continue the same for GB as well.

debasisdas 580 Posting Genius Featured Poster

the following is a sample of range partition.

CREATE TABLE test_range (
  test_id INT AUTO_INCREMENT PRIMARY KEY,
  test_date DATE
) ENGINE = MYISAM
  PARTITION BY RANGE(test_id) (
    PARTITION p0 VALUES LESS THAN(10000),
    PARTITION p1 VALUES LESS THAN(20000),
    PARTITION p2 VALUES LESS THAN(30000),
    PARTITION p3 VALUES LESS THAN(40000),
    PARTITION p4 VALUES LESS THAN(50000)
);

Please read more about table partition here, here and here.

debasisdas 580 Posting Genius Featured Poster

On which event you are calling EnableChoice ?

debasisdas 580 Posting Genius Featured Poster

I think i have already provided that in the previous thread.

Just check my 2nd post on that thread. :)

debasisdas 580 Posting Genius Featured Poster

ohh.....

if you do not understand the question itself how will you get the solution ?

and you should not try to offend those who try to help you.

debasisdas 580 Posting Genius Featured Poster

You have been supplied with enough logic by way of sample code.

Now its time for you to show effort.

Try to code the logic that you want to implement and post the code here.

debasisdas 580 Posting Genius Featured Poster

try this .

If GetServerDateTime() < (Format(Now.AddMinutes(-2), "MM/dd/yyyy hh:mm:ss tt")) Then
msgbox ("Invalid datetime")
end if

You may need to format it a bit.

swathys commented: don't post if you can't give proper solution +0
debasisdas 580 Posting Genius Featured Poster

i didn't get that. :confused:

debasisdas 580 Posting Genius Featured Poster

You need to follow this discussion.

debasisdas 580 Posting Genius Featured Poster

You need to subtract 2 minutes from the time and then compare.

debasisdas 580 Posting Genius Featured Poster

You want to display an entire PDF file in a picture box ?

debasisdas 580 Posting Genius Featured Poster

Yes it is.

please try this sample.

SaveSetting Your_Application_name.EXE, "textboxes", "text1", text1.Text
or
SaveSetting(App.EXEName, "Textboxes\frmMain", "Text1", frmMain.Text1.Text)
debasisdas 580 Posting Genius Featured Poster

1. Why not change the function signature and make it to return DECIMAL.
or
2. Convert the value (after all your calculation) into string before returning.

debasisdas 580 Posting Genius Featured Poster

Please read more here.

debasisdas 580 Posting Genius Featured Poster

Hi Jito.

Welcome to Daniweb.

We all learn here.

debasisdas 580 Posting Genius Featured Poster

No need to store data in HH, MM, SS columns.

These can be calculated at run time using the previous solution.

debasisdas 580 Posting Genius Featured Poster

Lets see your code .

debasisdas 580 Posting Genius Featured Poster

1. Need to ensure there is INDEX on search columns
2. Need to disable INDEX during data loading operation, and enable later on.
3. Need to check the SQL, may need to tuned.
4. Need to check for Hardware.
5. Need to check how loaded is your network.
6. May need to use caching from application side.

and few more...

debasisdas 580 Posting Genius Featured Poster

try this sample SQL

INSERT INTO tbl_temp2 (fld_id)
  SELECT tbl_temp1.fld_order_id
  FROM tbl_temp1 WHERE tbl_temp1.fld_order_id > 100;
debasisdas 580 Posting Genius Featured Poster

try this

SELECT f.FranchiseName INTO @FranciseName 
FROM franchise f , mytable m 
WHERE f.username=@username
and f.franchiseid = m.franchiseid
debasisdas 580 Posting Genius Featured Poster

CheckState.Unchecked is not about the individual items.

debasisdas 580 Posting Genius Featured Poster

what is your table name ?

franchise
or
MyTable

debasisdas 580 Posting Genius Featured Poster

@saddas
if you use rs.MoveLast

you will always get only one (the last) record.

Jx_Man commented: you right, i'm forget to explain about move.last :) +7
debasisdas 580 Posting Genius Featured Poster

Yes i know for sure.

debasisdas 580 Posting Genius Featured Poster

try the following

SELECT FranchiseName INTO @FranciseId FROM franchise WHERE username=@username
debasisdas 580 Posting Genius Featured Poster

have you added composite key on column A and B ?

debasisdas 580 Posting Genius Featured Poster

Just to test try using.

iif() or Switch() functions.

debasisdas 580 Posting Genius Featured Poster

For that you need to know how to code in both PHP and MySQL.

debasisdas 580 Posting Genius Featured Poster

Please find more about connection string .

debasisdas 580 Posting Genius Featured Poster

What about using a grid instead.

debasisdas 580 Posting Genius Featured Poster

try this

If dr(DbaseExpiryDate) > Format(Now, "MM/DD/YYYYyyyy") Then
debasisdas 580 Posting Genius Featured Poster

Is it because of the single quote.

Just frame and print the query before executing, it will be easy to trace the error.

debasisdas 580 Posting Genius Featured Poster

Happy to learn that your problem is sorted out.

Happy Coding :)

debasisdas 580 Posting Genius Featured Poster

1. You need to pass more information.
2. Yes.

debasisdas 580 Posting Genius Featured Poster

So you mean to say what ever you enter in text boxes needs to be added into list view, right ?

and i think after 80 posts, you should understand that you need to show some effort to get any help here.

Jaseem Ahmed commented: ghatiya +0
happygeek commented: agreed +13
diafol commented: Noobs like JA deserve to get no help. Idiots who don't follow guidelines deserve to be told. +9
debasisdas 580 Posting Genius Featured Poster

You do not know the difference between VB 6 and dot net code and claim this code is yours.

debasisdas 580 Posting Genius Featured Poster

@Debasidas, its the code of AndreRet man!

Now see the attitude.

debasisdas 580 Posting Genius Featured Poster

Im using Visual Basic not VB.net. well whats the difference by the way lol?......and already an assignment...

Ohh,

may be i took too long to type the previous post.

and see what the OP has.

he nicely made the expert do his assignment

and the 1st line of code confirms he has copied it from some where is not his own code.